import { http } from '@/utils/http/axios';

/**
* @description: 流程分组列表
*/
export function page(params) {
    return http.request({
        url: '/moss-cloud-base/base/flowGroup/page',
        method: 'POST',
        data: params,
    });
}
/**
* @description: 流程分组列表
*/
export function list() {
    return http.request({
        url: '/moss-cloud-base/base/flowGroup/list',
        method: 'POST',
        data: {},
    });
}
/**
* @description: 保存流程分组
*/
export function save(params) {
    return http.request({
        url: '/moss-cloud-base/base/flowGroup/save',
        method: 'POST',
        data: params,
    }, {
        isTransformResponse: false,
    });
}

/**
* @description: 修改流程分组
*/
export function update(params) {
    return http.request({
        url: '/moss-cloud-base/base/flowGroup/update',
        method: 'POST',
        data: params,
    }, {
        isTransformResponse: false,
    });
}

/**
* @description: 删除流程分组
*/
export function remove(params) {
    return http.request({
        url: '/moss-cloud-base/base/flowGroup/remove',
        method: 'POST',
        data: params,
    }, {
        isTransformResponse: false,
    });
}
